<?php

require_once '../mysqlConnect.php';

function retrieveMedicationList() {

	$conn = GetPDOConnection();

	$sql = "SELECT * FROM Medication ORDER BY ID";
	$STH = $conn->prepare($sql);
	$STH->setFetchMode(PDO::FETCH_ASSOC);
	$STH->execute();
	$results = $STH->fetchAll();

	$conn = null;
	return $results;
}